﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace 将xaml文件加载到窗体
{
    class Program
    {
        [STAThread()]
        static void Main()
        {
            Application app = new Application();

            app.MainWindow = new MainWindow("Window1.xaml");

            app.MainWindow.ShowDialog();
        }
    }
}
